import http from "@/api/axios";

export const getListApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/base/biz/bizCustomerLevelManage/page",
    data
  });
};
export const addClientGradeApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/base/biz/bizCustomerLevelManage/addBizCustomerLevel",
    data
  });
};
export const editClientGradeApi = (data: Base.GeneraDataType) => {
  return http({
    method: "POST",
    url: "/base/biz/bizCustomerLevelManage/updateBizCustomerLevelManage",
    data
  });
};
export const updateClientGradeStatusApi = (data: ClientGrade.AddForm) => {
  return http({
    method: "post",
    url: "/base/biz/bizCustomerLevelManage/updateStatus",
    data
  });
};
